package com.zhuangjie.rider.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


/**
 * 创建配送订单dto
 *
 * @author zhuangjie
 * @date 2024/04/01
 */
@Getter
@Setter
public class CreateDeliveryOrderDTO {
    /**
     * 订单id
     */
    @NotNull(message = "订单id不能为空")
    private Long orderId;
    /**
     * 实际配送费
     */
    @NotNull(message = "实际配送费不能为空")
    private BigDecimal actualDeliveryFee;
}
